import ccRequest from '../../index'
import { IDataType } from '../../types'

export function getPageListData(url: string, queryInfo: any): Promise<IDataType> {
  return ccRequest.post<IDataType>({
    url: url,
    data: { ...queryInfo }
  })
}
